import { taocanRequest } from '@/utils/HttpRequest';

export async function findByTaoCanPageList(params: any) {
  //SwaggerResources

  return taocanRequest.getList<API.ListDataType<API.Picture>>(
    'findByPageList',
    params,
  );
}

export async function findByTaoCanGoodsList(params: any) {
  //SwaggerResources

  return taocanRequest.get<API.GoodsTaoCan[]>('findGoodsList', params);
}
export async function editTaocan(params: API.TaoCanMaster) {
  return taocanRequest.post<API.BaseResult>('edit', params);
}
